package com.mshll.www;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: lenovo
 * Date: 2022-05-12
 * Time: 12:59
 */
public class Data {
    public int year;
    private  int day;

    public Data(int year) {
        this.year = year;
    }

    public Data(int year, int day) {
        this.year = year;
        this.day = day;
    }

    public void show(){
        System.out.println(this.year);
    }

    public static void main(String[] args) {
        Data data = new Data(2005,10);
        System.out.println(data.day);
    }
}
